﻿using Newtonsoft.Json;
using System.Text.Json.Serialization;

namespace QYWXUpdate.DataModel.QYWXDocument
{
    /// <summary>
    /// 获取企业微信文档返回值
    /// </summary>
    public class CommonGetDocDetailResponse<T>
    {
        /// <summary>
        /// 错误码
        /// </summary>
        public int errcode { get; set; }
        /// <summary>
        /// 错误码说明
        /// </summary>
        public string errmsg { get; set; }
        public int total { get; set; }
        public bool has_more { get; set; }
        public int next { get; set; }
        public List<CommonRecord<T>> records { get; set; }
    }

    public class CommonRecord<T>
    {
        public string record_id { get; set; }
        public string create_time { get; set; }
        public string update_time { get; set; }
        public T values { get; set; }
    }

    public class UserId
    {
        public string user_id { get; set; }
    }
    public class Text
    {
        public string text { get; set; }
    }
}
